package com.dongdong.service;

import com.dongdong.utils.PageBean;
import com.dongdong.utils.PageResult;
import com.dongdong.utils.Result;
import com.dongdong.vo.GoodsVO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface GoodsService {
    void addGoods(GoodsVO goodsVO, HttpServletRequest request);

    PageResult<GoodsVO> getGoodsPage(PageBean<GoodsVO> goodsVO);


    Result updateGoodsStatus(List<Long> ids, String status);

    GoodsVO getGoodsAndDescAndItem(Long goodsId);

}
